package com.wuseguang.springcloud.dao.repository;

import com.wuseguang.springcloud.entity.MeMoralEducationLabel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface MeMoralEducationLabelRepository extends JpaRepository<MeMoralEducationLabel,Integer> {

    @Query(value = "select * from me_moral_education_label where school_id = ?1",nativeQuery = true)
    List<MeMoralEducationLabel> findbySchoolId(Integer valueOf);
}
